Conversation
For both programs and partners a few issues were happening on smaller screens: - When clicking "new message" and it shows the partner/program drawer, after selecting a partner/program, nothing else shows. It should open the compose window, with the message input in focus. - When you select and existing conversation, the far panel opens over the conversation and you need to close it to see the thread. - `Program only` When you click the menu button in the top left, it opens the nav panel, but everything is hidden until you click on the partner icon again, and it takes you back to the program overview. on larger screens this makes sense, but on mobile we need to show the full nav.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughAdds URL-driven composer autofocus (via Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Router as Router/Navigation
participant Layout as Messages Layout
participant Page as Page Client
participant Panel as MessagesPanel
participant Input as MessageInput
User->>Router: select program/partner
Router->>Layout: navigate to /messages/{id}?new=1
Layout->>Layout: setCurrentPanel("main")
Layout->>Page: render page-client for selection
Page->>Page: read searchParams (?new=1) and width
Page->>Router: router.replace(...) to remove ?new=1
Page->>Panel: render with autoFocusComposer=true
Panel->>Input: render with autoFocus = !isMobile || autoFocusComposer
Input->>User: focus composer input
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
For both programs and partners a few issues were happening on smaller screens:
Program onlyWhen you click the menu button in the top left, it opens the nav panel, but everything is hidden until you click on the partner icon again, and it takes you back to the program overview. on larger screens this makes sense, but on mobile we need to show the full nav.CleanShot.2026-02-11.at.14.26.21.mp4
Summary by CodeRabbit